package com.ruoyi.finance.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * (KltPurchaseDetail)表实体类
 *
 * @author makejava
 * @since 2024-12-19 12:18:03
 */
@SuppressWarnings("serial")
@Data
@Getter
@Setter
public class KltPurchaseDetail extends Model<KltPurchaseDetail> {
    @TableId(type = IdType.AUTO)
    private Integer purchaseDetailId;

    private Integer  stockId;

    private Integer purchaseId;

    private String orderNumberProduct ;

    private Integer quantity;

    private String unit;

    private BigDecimal unitPrice;

    private BigDecimal amount;

    private BigDecimal taxIncludedPrice;

    private BigDecimal totalPrice;

    private String paymentVoucher;
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    private Date paymentDate;

    private BigDecimal paymentAmount;

    private BigDecimal unpaidAmount;

    private String invoiceNumber;
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    private Date invoiceDate;

    private Integer invoiceQuantity;

    private BigDecimal invoiceAmount;

    private BigDecimal unpaidInvoiceAmount;

    private String deliveryDate;

    private String isArrived;

    private String isDel;

    private Date createTime;

    private String createSource;

    private Date updateTime;

    private String updateUser;



}

